package com.zym.mythreadpool;

import org.springframework.stereotype.Component;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@Component
public class MyThreadPool {
    //线程池
    public static ExecutorService executorService = Executors.newFixedThreadPool(10);
}
